import axios from '@/libs/api.request'
// 成绩管理
export function scoreList (data) {
    return axios.request({
        url: '/gradeManage/gradeList',
        data: data,
        method: 'post'
    })
}
// 权重设置
export function updateWeight (data) {
    return axios.request({
        url: '/gradeManage/updateWeight',
        data: data,
        method: 'post'
    })
}
// 获取权重
export function getWeight (obj) {
    return axios.request({
        url: '/gradeManage/grade',
        params: obj,
        method: 'get'
    })
}
// 教师打分
export function teaPick (data) {
    return axios.request({
        url: '/gradeManage/mark',
        data: data,
        method: 'post'
    })
}
// 成绩详情
export function getDetail (obj) {
    return axios.request({
        url: '/gradeManage/gradeDetail',
        params: obj,
        method: 'get'
    })
}
